package zhai.gof.builder;

public class Client {

    // 建造者
    public static void main(String[] args) {
        Product product = new Worker().builderA("123").product();
        System.out.println(product.getBuildA());
        System.out.println(product.getBuildB());
        System.out.println(product.getBuildC());
        System.out.println(product.getBuildD());
    }
}
